<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <!-- 合并两个数组，并排序 -->
    <script>
      let arr = [12, 45, 78, 89, 36]
      let arr2 = [32, 65, 98, 58, 25]
      //合并数组
      let merge = arr.concat(arr2)
      //数组排序
      merge.sort()
      console.log(merge)
    </script>
  </body>
</html>
